<?php
namespace core\database;

use core\Register;

class Db
{
	private static $driver = [
		'MySQLi' => '\\core\\database\\driver\\MySQLi',
		'PDO' => '\\core\\database\\driver\\PDO'
	];

	static function register()
	{
		foreach ( self::$driver as $alias => $driver ) {
			Register::set($alias, $driver);
		}
	}
}